import mockList from './api'
import project from '@/core/project';
// 引入mockjs
const Mock = require('mockjs');

if (project.ENV === 'local'){
    mockList.forEach(item =>{
        item.forEach(item1 => {
            console.log('item ', item1);
            Mock.mock(project.BASE_URL + item1.path, item1.type, item1.result)
        })
    });
}

